#include "stdafx.h"
#include "./playermsg.h"
#include "./playerwrapper.h"
#include "./playermsgwrapper.h"

INIT_WRAPPER(PlayerMsgWrapper, PlayerMsg, "player_msg_meta")

PlayerMsgWrapper::PlayerMsgWrapper()
{

}

PlayerMsgWrapper::~PlayerMsgWrapper()
{

}

void PlayerMsgWrapper::InitWrapper(int classid)
{
	Def_Class(classid)
	[
		Def_Function("GetID",			 &PlayerMsg::GetID),
		Def_Function("GetPos",			 &PlayerMsg::GetPos),
		Def_Function("GetRollAngle",	 &PlayerMsg::GetRollAngle),
		Def_Function("GetGunAngle",		 &PlayerMsg::GetGunAngle),
		Def_Function("GetGo",			 &PlayerMsg::GetGo),
		Def_Function("GetSpeed",		 &PlayerMsg::GetSpeed),
		Def_Function("GetRollSpeed",	 &PlayerMsg::GetRollSpeed),
		Def_Function("GetGunSpeed",		 &PlayerMsg::GetGunSpeed),
		Def_Function("SetGoHeading",	 &PlayerMsg::SetGoHeading),
		Def_Function("Go",				 &PlayerMsg::Go),
		Def_Function("TurnRollToAngle",  &PlayerMsg::TurnRollToAngle),
		Def_Function("TurnGunToAngle",	 &PlayerMsg::TurnGunToAngle),
		Def_Function("ReverseRollAngle", &PlayerMsg::ReverseRollAngle),
		Def_Function("ReverseGunAngle",  &PlayerMsg::ReverseGunAngle),
		Def_Function("Shoot",			 &PlayerMsg::Shoot),
		Def_Function("SetSpeed",		 &PlayerMsg::SetSpeed),
		Def_Function("SetRollSpeed",	 &PlayerMsg::SetRollSpeed),
		Def_Function("SetGunSpeed",		 &PlayerMsg::SetGunSpeed)
	];
}